s = input()
s = s.split(',')
s = map(eval,s)
s = list(s)
a = float(sum(s))
print("%.2f"%a)
